/*
 * 文件名：AdInfoServiceImpl.java	 
 * 时     间：下午3:34:59
 * 作     者：liyf       
 * 版     权： 2014-2022  智慧园区, 公司保留所有权利.
 * 联     系：www.szyungu.com
 */
package com.cz073586.technology.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cz073586.common.dao.face.BaseMapper;
import com.cz073586.common.exception.BaseException;
import com.cz073586.common.servcie.impl.BaseServiceImpl;
import com.cz073586.technology.dao.mapers.AdInfoMapper;
import com.cz073586.technology.model.AdInfo;
import com.cz073586.technology.model.AdInfoExample;
import com.cz073586.technology.service.face.AdInfoService;

/**
 * @ClassName: AdInfoServiceImpl
 * @Description: 这里用一句话描述这个类的作用
 * @author liyf
 * @date 2015年1月20日 下午3:34:59
 */
@Service
public class AdInfoServiceImpl extends
		BaseServiceImpl<AdInfoExample, AdInfo, String> implements AdInfoService
{
	@Autowired
	private AdInfoMapper adinfoMapper;
	
	@Override
	public BaseMapper<AdInfoExample, AdInfo, String> getMapper()
	{
		return adinfoMapper;
	}
	
	@Override
	public List<AdInfo> queryAdList() throws BaseException
	{
		return adinfoMapper.queryAdList();
	}

	@Override
	public List<AdInfo> queryAdByIdsIn(String[] adIds) throws BaseException
	{
		return adinfoMapper.queryAdByIdsIn(adIds);
	}

	@Override
	public List<AdInfo> queryAdByIdsNotIn(String[] adIds) throws BaseException
	{
		return adinfoMapper.queryAdByIdsNotIn(adIds);
	}
	
}
